﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="EmpIndex.aspx.cs" Inherits="WEB.Emp.EmpIndex" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    员工主页
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" colspan="3">
                <asp:Label ID="Label1" runat="server" Text="按照岗位名称查询："></asp:Label>
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
                </asp:DropDownList>
                <asp:GridView ID="gvEMP" runat="server" AutoGenerateColumns="False" Width="459px"
                    OnRowDeleting="gvEMP_RowDeleting" OnRowEditing="gvEMP_RowEditing" CellPadding="4"
                    ForeColor="Black" GridLines="Vertical" DataKeyNames="EmpNum" OnPageIndexChanging="gvEMP_PageIndexChanging"
                    OnRowDataBound="gvEMP_RowDataBound" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None"
                    BorderWidth="1px" CssClass="distance" OnSelectedIndexChanging="gvEMP_SelectedIndexChanging">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField HeaderText="工号" DataField="EmpNum" />
                        <asp:BoundField HeaderText="姓名" DataField="UserName" />
                        <asp:BoundField HeaderText="岗位编号" DataField="Jobno" />
                        <asp:CommandField ShowEditButton="True">
                            <ControlStyle ForeColor="#0066FF" />
                        </asp:CommandField>
                        <asp:CommandField ShowDeleteButton="True">
                            <ControlStyle ForeColor="#0066FF" />
                        </asp:CommandField>
                        <asp:CommandField ButtonType="Button" SelectText="查看权限" ShowSelectButton="True">
                            <ControlStyle CssClass="Submit_gvbig" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>
                <br />
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="增加员工" CssClass="Submit_yellowbig" />
                <br />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
</asp:Content>
